package net.huashitong.ssydt.common.entity.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.23
 */
public class AreasVo extends AreaVo {

    private static final long serialVersionUID = 3553686819261851690L;

    @ApiModelProperty(value = "下级地区列表，例: 35")
    private List<AreasVo> nextList;

    public AreasVo(AreaVo areaVo) {
        super();
        setId(areaVo.getId());
        setName(areaVo.getName());
        setCode(areaVo.getCode());
    }

    public AreasVo() {
    }

    public List<AreasVo> getNextList() {
        return nextList;
    }

    public void setNextList(List<AreasVo> nextList) {
        this.nextList = nextList;
    }
}
